package cn.liumouren.jzxd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-10-30 16:52:42
 */
@Data
@TableName("tb_zone")
public class Zone implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String id;
	/**
	 * 
	 */
	@ApiModelProperty("发布动态的userId")
	private String userId;
	/**
	 * 
	 */
	@ApiModelProperty("动态标题")
	private String title;
	/**
	 * 
	 */
	@ApiModelProperty("动态内容")
	private String content;
	/**
	 * 发表动态的地址
	 */
	@ApiModelProperty("发布动态时的地址")
	private String address;
	/**
	 * 
	 */
	private Date addTime;
	/**
	 * 是否为隐藏动态
	 */
	@ApiModelProperty("动态是否为私密动态(1是,0否)")
	private Integer privacy;
	/**
	 * 所有图片id用;隔开
	 */
	@ApiModelProperty("动态包含的所有图片id,多个用;隔开(如 1;2;3;4)")
	private String picId;

	private Integer hot; //动态热度

	private String sceneIds;

	@TableField(exist = false)
	private List<String> urls;

	@TableField(exist = false)
	private User user;
}
